package com.example.kotlinExample.entity;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author liliang
 */
public class DemoData {

    @ExcelProperty(value = "字符串标题", index = 0)
    private String title;
    @ExcelProperty(value = "时间标题", index = 1)
    private String date;
    @ExcelProperty(value = "编号", index = 2)
    private Integer num;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "DemoData{" +
                "title='" + title + '\'' +
                ", date='" + date + '\'' +
                ", num=" + num +
                '}';
    }
}
